$Commands = [ordered]@{
    CMD = 'cmd.exe'
    Env = 'rundll32 sysdm.cpl,EditEnvironmentVariables'
}
$Applications = @{
    Chrome  = "https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7BE8C16FEC-327D-3B00-BEFB-8735CC4AB71C%7D%26lang%3Dzh-CN%26browser%3D4%26usagestats%3D1%26appname%3DGoogle%2520Chrome%26needsadmin%3Dprefers%26ap%3Dx64-statsdef_1%26installdataindex%3Dempty/update2/installers/ChromeSetup.exe"
    Android = "https://dl.google.com/dl/android/studio/install/3.2.0.26/android-studio-ide-181.5014246-windows.exe"
}
$Environments = [PSCustomObject]@{
    Cangjie = @{
        Path         = @(
            "%CANGJIE_HOME%\runtime\lib\windows_x86_64_llvm",
            "%CANGJIE_HOME%\lib\windows_x86_64_llvm",
            "%CANGJIE_HOME%\bin",
            "%CANGJIE_HOME%\tools\lib",
            "%CANGJIE_HOME%\tools\bin",
            "%USERPROFILE%\.cjpm\bin",
            "%CANGJIE_HOME%\debugger\bin"
        )
        CANGJIE_HOME = "D:\Program Files (x86)\Cangjie\0.59.6"
    }
    NodeJs  = @{
        FNM_DIR              = 'G:\Data\AppData\Roaming\fnm'
        FNM_NODE_DIST_MIRROR = 'https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/'
    }
}

[PSCustomObject]$Options = @{
    Auto         = $true
    Test         = "测试指令"
    Commands     = $Commands
    Apps         = $Applications
    Environments = $Environments
}

$Global:Yx3InkOptions = $Options